Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerCommands Class > RunAsync Method : RunAsync(DocumentViewerAsyncOperation<Object>,String) Method |
public void RunAsync( DocumentViewerAsyncOperation<object> operation, string commandName )
'Declaration
Public Overloads Sub RunAsync( _ ByVal operation As DocumentViewerAsyncOperation(Of Object), _ ByVal commandName As String _ )
'Usage
Dim instance As DocumentViewerCommands Dim operation As DocumentViewerAsyncOperation(Of Object) Dim commandName As String instance.RunAsync(operation, commandName)
public: void RunAsync( DocumentViewerAsyncOperation<Object^>^ operation, String^ commandName )
This method works by using the thread pool to queue Run(commandName, value), then invoking Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end on either case.
The result of running the command RunHandler will be in Result
Refer to Document Viewer Commands for more information.